package net.pimpas.web.tests.bb;

import javax.faces.event.ActionEvent;

import net.pimpas.web.jsf.managedbean.ManagedBeanAnnotation;


@ManagedBeanAnnotation(beanName="bbTeste")
public class TstBB {

	private String name;
	
	public TstBB() {
		this.setName("Default Name");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public void printName( ActionEvent evt ) {
		System.out.println("Printing name: "+this.getName());
	}
}